<%@ page import="psychoproject.OpenQuestion" %>



<div class="fieldcontain ${hasErrors(bean: openQuestionInstance, field: 'correctAnswer', 'error')} required">
	<label for="correctAnswer">
		<g:message code="openQuestion.correctAnswer.label" default="Correct Answer" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="correctAnswer" required="" value="${openQuestionInstance?.correctAnswer}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: openQuestionInstance, field: 'type', 'error')} required">
	<label for="type">
		<g:message code="openQuestion.type.label" default="Type" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="type" required="" value="${openQuestionInstance?.type}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: openQuestionInstance, field: 'questionText', 'error')} ">
	<label for="questionText">
		<g:message code="openQuestion.questionText.label" default="Question Text" />
		
	</label>
	<g:textField name="questionText" value="${openQuestionInstance?.questionText}"/>
</div>

